package com.cloudpolice.equipment.model;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * @author ：梁昊，后端工程师：flyman5，前端工程师：孙耀
 * @create 2020-04-01 22:00
 * @function
 * @editLog
 */
public class EquipmentMessageModel {
    /**
     *
     */
    private String id;
    /**
     * 消息
     */
    private String message;
    /**
     * 消息类型（0：一般消息、1：通知）
     */
    private Integer messageType;
    /**
     * 发布者名称
     */
    private String createName;
    /**
     * 通知日期
     */
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date createTime;
    /**
     * 发布开始日期（不包括当天）
     */
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date beginDate;
    /**
     * 发布结束日期（不包括当天）
     */
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date endDate;
    /**
     * 社区ID
     */
    private String communityId;
    /**
     * 社区区域ID
     */
    private String periodId;
    /**
     * 是否审批通过
     */
    private Boolean audioSign;
    /**
     * 出现顺序
     */
    private Integer sortNo;

    /**
     * R颜色值
     */
    private Integer colorR;
    /**
     * G颜色值
     */
    private Integer colorG;
    /**
     * B颜色值
     */
    private Integer colorB;
    /**
     * 文字大小
     */
    private Integer fontSize;

    public Integer getColorR() {
        return colorR;
    }

    public void setColorR(Integer colorR) {
        this.colorR = colorR;
    }

    public Integer getColorG() {
        return colorG;
    }

    public void setColorG(Integer colorG) {
        this.colorG = colorG;
    }

    public Integer getColorB() {
        return colorB;
    }

    public void setColorB(Integer colorB) {
        this.colorB = colorB;
    }

    public Integer getFontSize() {
        return fontSize;
    }

    public void setFontSize(Integer fontSize) {
        this.fontSize = fontSize;
    }

    public String getId(){
        return id;
    }

    public void setId(String id){
        this.id = id;
    }

    public String getCommunityId() {
        return communityId;
    }

    public void setCommunityId(String communityId) {
        this.communityId = communityId;
    }

    public String getPeriodId() {
        return periodId;
    }

    public void setPeriodId(String periodId) {
        this.periodId = periodId;
    }

    public Boolean getAudioSign() {
        return audioSign;
    }

    public void setAudioSign(Boolean audioSign) {
        this.audioSign = audioSign;
    }

    public Integer getSortNo() {
        return sortNo;
    }

    public void setSortNo(Integer sortNo) {
        this.sortNo = sortNo;
    }

    public String getMessage(){
        return message;
    }

    public void setMessage(String message){
        this.message = message;
    }

    public Integer getMessageType(){
        return messageType;
    }

    public void setMessageType(Integer messageType){
        this.messageType = messageType;
    }

    public String getCreateName(){
        return createName;
    }

    public void setCreateName(String createName){
        this.createName = createName;
    }

    public Date getCreateTime(){
        return createTime;
    }

    public void setCreateTime(Date createTime){
        this.createTime = createTime;
    }

    public Date getBeginDate(){
        return beginDate;
    }

    public void setBeginDate(Date beginDate){
        this.beginDate = beginDate;
    }

    public Date getEndDate(){
        return endDate;
    }

    public void setEndDate(Date endDate){
        this.endDate = endDate;
    }
}
